package org.smth.search.query.impl;

import org.smth.search.query.QueryInfo;
import org.apache.lucene.search.Query;
import org.apache.lucene.analysis.Token;

import java.util.List;

public class QueryInfoImpl implements QueryInfo {

	private Query query;

	private List<Token> tokens;

	public QueryInfoImpl(Query query, List<Token> tokens) {
		this.query = query;
		this.tokens = tokens;
	}

	public Query getQuery() {
		return query;
	}

	public void setQuery(Query query) {
		this.query = query;
	}

	public List<Token> getTokens() {
		return tokens;
	}

	public void setTokens(List<Token> tokens) {
		this.tokens = tokens;
	}

}
